package com.atguigu.spzx.manager.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface SysRoleMenuMapper {
    void deleteMenusByRoleId(Long roleId);

    void assignMenus2Role(@Param("menuIds") List<Long> menuIds,
                          @Param("roleId")Long roleId);
}
